﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.EnterpriseLibrary.Data;
using Microsoft.Practices.EnterpriseLibrary.Data.Sql;
using Microsoft.SqlServer.Server;
using Microsoft.Practices.Unity;
using System.Configuration;


namespace SimpleLoggingForNet.Core
{
    public class BusinessObjects
    {
        public int LogException(string ExceptionCategory, int EventID, string ExceptionMessage, string ExceptionTitle, int ExceptionSeverity, string WorkStationID)
        {
            return DataAccessLayer.LogException(ExceptionCategory, EventID, ExceptionMessage, ExceptionTitle, ExceptionSeverity, WorkStationID);
        }

        public int LogInformation(int EventID, string Message, string Title, string WorkStationID)
        {
            return 0;
        }
    }
}
